try:
    print(10 / 0)
    print(a)
except NameError:
    print("NameError")
except ZeroDivisionError:
    print("零 不能做除数")